type crypto/tls.alert
50 uses
crypto/tls (current package)
alert.go#L18: return alert(e).String()
alert.go#L21: type alert uint8
alert.go#L30: alertCloseNotify alert = 0
alert.go#L31: alertUnexpectedMessage alert = 10
alert.go#L32: alertBadRecordMAC alert = 20
alert.go#L33: alertDecryptionFailed alert = 21
alert.go#L34: alertRecordOverflow alert = 22
alert.go#L35: alertDecompressionFailure alert = 30
alert.go#L36: alertHandshakeFailure alert = 40
alert.go#L37: alertBadCertificate alert = 42
alert.go#L38: alertUnsupportedCertificate alert = 43
alert.go#L39: alertCertificateRevoked alert = 44
alert.go#L40: alertCertificateExpired alert = 45
alert.go#L41: alertCertificateUnknown alert = 46
alert.go#L42: alertIllegalParameter alert = 47
alert.go#L43: alertUnknownCA alert = 48
alert.go#L44: alertAccessDenied alert = 49
alert.go#L45: alertDecodeError alert = 50
alert.go#L46: alertDecryptError alert = 51
alert.go#L47: alertExportRestriction alert = 60
alert.go#L48: alertProtocolVersion alert = 70
alert.go#L49: alertInsufficientSecurity alert = 71
alert.go#L50: alertInternalError alert = 80
alert.go#L51: alertInappropriateFallback alert = 86
alert.go#L52: alertUserCanceled alert = 90
alert.go#L53: alertNoRenegotiation alert = 100
alert.go#L54: alertMissingExtension alert = 109
alert.go#L55: alertUnsupportedExtension alert = 110
alert.go#L56: alertCertificateUnobtainable alert = 111
alert.go#L57: alertUnrecognizedName alert = 112
alert.go#L58: alertBadCertificateStatusResponse alert = 113
alert.go#L59: alertBadCertificateHashValue alert = 114
alert.go#L60: alertUnknownPSKIdentity alert = 115
alert.go#L61: alertCertificateRequired alert = 116
alert.go#L62: alertNoApplicationProtocol alert = 120
alert.go#L63: alertECHRequired alert = 121
alert.go#L66: var alertText = map[alert]string{
alert.go#L103: func (e alert) String() string {
alert.go#L111: func (e alert) Error() string {
conn.go#L688: return c.in.setErrorLocked(c.sendAlert(err.(alert)))
conn.go#L720: if alert(data[1]) == alertCloseNotify {
conn.go#L729: if alert(data[1]) == alertUserCanceled {
conn.go#L733: return c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])})
conn.go#L740: return c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])})
conn.go#L765: return c.in.setErrorLocked(c.sendAlert(err.(alert)))
conn.go#L841: func (c *Conn) sendAlertLocked(err alert) error {
conn.go#L864: func (c *Conn) sendAlert(err alert) error {
conn.go#L1043: return n, c.sendAlertLocked(err.(alert))
conn.go#L1588: a, ok := errors.AsType[alert](c.out.err)
quic.go#L387: a, ok := errors.AsType[alert](err)
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)